//
//  ZYCLeaveRecordModel.m
//  ZDSC
//
//  Created by ZDTX on 2021/8/12.
//

#import "ZYCLeaveRecordModel.h"

@implementation ZYCLeaveRecordModel

- (NSString *)durationLeaveName{
    if ([self.durationLeave integerValue] == 1) {
        return @"上午假";
    }else   if ([self.durationLeave integerValue] == 2) {
        return @"下午假";
    }else{
        return @"全天假";
    }
}
@end
